pid_get_parent: fix for OpenBSD
authorAntoine Jacoutot <ajacoutot@gnome.org>
Mon, 13 May 2019 18:47:46 +0000 (20:47 +0200)
committerAntoine Jacoutot <ajacoutot@gnome.org>
Mon, 13 May 2019 18:47:46 +0000 (20:47 +0200)
commit0334ea1c889331adb02d361670e24b3f85b5b0d6
tree1b3f7b36b0e46c7945b4ccbf6ef992fdc4efb1b9
parent9281e058f324b99f72dcd3c280a4af59e35ea21d
pid_get_parent: fix for OpenBSD

This fixes a long standing bug in pid_get_parent on OpenBSD (which was mine
so... my fault). kp wasn't properly allocated and the function could return
random failures.
gtk/gtkmountoperation-x11.c